const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  routes: state => state.user.routes, // 用于显示导航菜单的路由列表
  buttons: state => state.user.buttons, 
}
export default getters
